package com.hmy.uaa.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hmy.uaa.bo.response.ResourceResponse;
import com.hmy.uaa.po.Resource;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.data.repository.query.Param;

import java.util.List;


@Mapper
public interface ResourceMapper extends BaseMapper<Resource> {

    /**
     * 查询资源列表
     *
     * @param menuId 菜单id
     * @return 返回数据
     */
    List<ResourceResponse> queryResourceList(@Param("menuId") Long menuId);
}